package com.unipay.spring.pojo;

/**
 * @BelongsProject: SSM
 * @Author: cmy
 * @CreateTime: 2023-01-15  12:28
 * @Description: TODO
 */

public class Animal {
    private String name;
    private String habit;

    public Animal() {
    }
    public Animal(String name, String habit) {
        this.name = name;
        this.habit = habit;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHabit() {
        return habit;
    }

    public void setHabit(String habit) {
        this.habit = habit;
    }


    @Override
    public String toString() {
        return "Animal{" +
                "name='" + name + '\'' +
                ", habit='" + habit + '\'' +
                '}';
    }
}
